fp.read
reads in a set of fingerprints from a file. Fingerprint
output from the CDK, MOE and BCI can be handled.Each fingerprint is represented as a fingerprint
object.
fp.read
returns a list
structure, each element being a
fingerprint
object.
fp.read.to.matrix
is a utility function that reads the fingerprints directly to
matrix form (columns are the bit positions and the rows are the objects whose fingerprints
have been evaluated)
fp.read(f='fingerprint.txt', size=1024, lf=cdk.lf, header=FALSE)
fp.read.to.matrix(f='fingerprint.txt', size=1024, lf=cdk.lf, header=FALSE)
list
or matrix
of fingerprintscdk.lf
,
moe.lf
,
bci.lf